package com.naiterui.ehp.bs.doctor.vo.inner;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.naiterui.ehp.bs.doctor.vo.LicenceVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @author guoyongxiang
 * @date 2019/9/26 15:55
 * @since 1.0.0
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class DoctorParamVO {

    /**
     * 医生ID
     */
    @ApiModelProperty(value = "医生ID")
    private Long doctorId;

    @ApiModelProperty(value = "修改类型 1.基本资料;2.备案信息")
//    @NotNull(message = "修改类型不能为空")
//    @Range(min = 1, max = 2, message = "修改类型值错误")
    private Integer modifyType;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 科室ID
     */
    @ApiModelProperty(value = "科室ID")
    private Integer departmentId;

    /**
     * 职称ID
     */
    @ApiModelProperty(value = "职称")
    private Integer titleId;

    /**
     * 医院ID
     */
    @ApiModelProperty(value = "医院ID")
    private Integer hospitalId;

    /**
     * 医生简介
     */
    @ApiModelProperty(value = "简介")
    private String introduction;

    /**
     * 专业与专长
     */
    @ApiModelProperty(value = "擅长")
    private String expertise;

    /**
     * 头像url
     */
    @ApiModelProperty(value = "头像URL")
    private String headUrl;

    /**
     * 签名图片URL
     */
    @ApiModelProperty(value = "签名图片URL")
    private String signImgUrl;

    /**
     * 身份证
     */
    @ApiModelProperty(value = "身份证")
    private LicenceVO idCard;

    /**
     * 职称证书
     */
    @ApiModelProperty(value = "职称证书")
    private LicenceVO titleCertificate;

    /**
     * 医师资格证
     */
    @ApiModelProperty(value = "医师资格证")
    private LicenceVO qualificationCertificate;

    /**
     * 工作证
     */
    @ApiModelProperty(value = "工作证")
    private LicenceVO emCard;
    /**
     * 医师职业证书
     */
    @ApiModelProperty(value = "医师职业证书")
    private LicenceVO medical;

    @ApiModelProperty("电子邮箱")
    private String email;


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
